#include "CIdentificationDescriptor.h"


CIdentificationDescriptor::CIdentificationDescriptor(void):IDescriptorData(DESCRIPTOR_TAG_AD_ID)
, m_nAdId(0)
{	
}

CIdentificationDescriptor::~CIdentificationDescriptor(void)
{
}

void CIdentificationDescriptor::GetData(BYTE* buff  , int &len)
{	
	CBuffer stBuffer(buff,DESCRIPTOR_MAXLEN);
	PACK_DESCRIPTOR_BUFFER_START(stBuffer,DESCRIPTOR_TAG_AD_ID);

	stBuffer.Write(m_nAdId);

	len = PACK_DESCRIPTOR_BUFFER_END(stBuffer);

}